export interface EmotionResponse {
  stimulusId: number;
  selectedEmotion: string;
  correct: boolean;
  reactionTime: number;
  confidence: number; // 1-5 置信度
  stimulusType: string;
  difficulty: string;
}

export interface EmotionTestConfig {
  includeMicroExpressions: boolean;
  includeBodyLanguage: boolean;
  includeVoiceTone: boolean;
  includeSocialScenarios: boolean;
  difficultyLevel: 'easy' | 'medium' | 'hard' | 'mixed';
  totalStimuli: number;
}

export interface EmotionAnalysis {
  overallAccuracy: number;
  basicEmotionAccuracy: number;
  complexEmotionAccuracy: number;
  microExpressionAccuracy: number;
  averageReactionTime: number;
  averageConfidence: number;
  emotionConfusionMatrix: { [key: string]: { [key: string]: number } };
  strengthsByType: { [key: string]: number };
  weaknessesByType: { [key: string]: number };
}